import React from 'react'
import { Route, HashRouter as Router, Switch } from 'react-router-dom'
import Layout from '@/pages/Layout'
import Login from '@/pages/Login'
import NotFound from '@/pages/Notfound'
export default function App() {
  return (
    <Router>
      <div className="div">
        123
        <Switch>
          <Route component={Layout} path="/home"></Route>
          <Route component={Login} path="/login"></Route>
          <Route component={NotFound}></Route>
        </Switch>
      </div>
    </Router>
  )
}
